package NovelBar.mapper;

import NovelBar.dto.PayChapterDto;
import NovelBar.entity.PayChapter;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface PayChapterMapper {

    int insertPayChapter(PayChapterDto record);
    PayChapter selectPayChapter(@Param("chapterId") Integer chapterId,@Param("userId")Integer userId);
}